//Copyright (c) ServiceStack, Inc. All Rights Reserved.
//License: https://raw.github.com/ServiceStack/ServiceStack/master/license.txt

using System.Collections.Generic;
using System.Runtime.Serialization;

namespace ServiceStack;

[DataContract]
public class Property
{
    [DataMember(Order = 1)]
    public string Name { get; set; }
    [DataMember(Order = 2)]
    public string Value { get; set; }
}

[CollectionDataContract(ItemName = "Property")]
public class Properties : List<Property>
{
    public Properties() { }
    public Properties(IEnumerable<Property> collection) : base(collection) { }
}